def more(text, numline=15):
	lines = text.splitlines()
	while lines:
		first = lines[:numline]
		lines = lines[numline:]
		for line in first: print(line)
		if lines and input('More?') not in ['y', 'Y']: break

if __name__ == '__main__':
	import sys
	more(open(sys.argv[1]).read(), 10)
